
from settings.default import DefaultConfig


class DevelopmentConfig(DefaultConfig):
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:root@127.0.0.1:3306/p8_zuowu'
    SQLALCHEMY_TRACK_MODIFICATIONS = False  # 追踪数据的修改信号
    SQLALCHEMY_ECHO = True

    # REDIS配置
    REDIS_HOST = 'localhost'
    REDIS_PORT = '6379'
    REDIS_DB = 0
    REDIS_PWD = '321'

    #  dingding第三方登录配置
    APP_ID = "dingoajf8cqgyemqarekhr"
    APP_SECRET = 'Fcah25vIw-koApCVN0mGonFwT2nSze14cEe6Fre8i269LqMNvrAdku4HRI2Mu9VK'
    # APP_ID = "dingwgu4hvydupnctwfn"
    # APP_SECRET = 'yqkgkN460A9jsNFqvTuk1OGYPL2fbby7AcLhEMY2NkCT-ZAO0rLoq33qGvx7sVTY'
    WEIBO_APP_ID = '2775107052'
    WEIBO_APP_SECRET = '718b38b04fc387700cc1595b30875b19'
